home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / oleo-1_4.lha / oleo-1.4 / INSTALL < prev    next >
Text File  |  1993-05-21  |  2KB  |  61 lines

  1.  
  2. This file contains installation instructions specific to Oleo.  Before
  3. reading this file, you should be familiar with the generic
  4. installation instructions in the file INSTALL.
  5.  
  6. * Compiling X11 support.
  7.  
  8. If configure finds the header file `<X11/X.h>', Oleo will be compiled
  9. with support X11 in addition to the usual terminal interface.  `-lX11'
  10. will be added to the list of libraries.  
  11.  
  12. If the X header files are in an unusual location, run configure with a
  13. command like:
  14.  
  15.   $ DEFS='-I$X_INCLUDE_DIR' configure
  16.  
  17. If this command is not appropriate for your system, you will have to
  18. edit the Makefile and perhaps the `#include' directives in `io-x11.h'.
  19. In the Makefile, check the defintions of `optional_libs' and
  20. `ALL_CFLAGS'.  To compile without X support, remove `-DHAVE_X11_X_H=1'
  21. from the definition of `ALL_CFLAGS'.  To compile with X11 support,
  22. make sure that HAVE_X11_X_H is defined, and that `optional_libs'
  23. includes the xlib functions.
  24.  
  25. * System specific advice
  26.  
  27. ** AIX
  28.  
  29.     A configure bug will require you to remove references to -ltermlib
  30.     from the Makefile on AIX systems.
  31.  
  32.  
  33. ** Sun
  34.  
  35. The libm.a for the Sun unbundled compilers conflicts with gcc.  If you
  36. use gcc to compile Oleo, the libm.a distributed with gcc should be
  37. used instead. That means any references to the Sun unbundled products
  38. should be removed from the LD_LIBRARY_PATH envionment variable before
  39. linking oleo.
  40.  
  41. ** SGI
  42.  
  43.     Apparently the parse.tab.c generated by bison does not include
  44.     alloca.h as it should.  If you have yacc, running `make realclean'
  45.     before `make oleo' will cause all bison output to be rebuilt.
  46.  
  47.     If you want to use the distributed bison files, edit the cpp conditionals
  48.     that guard `#include <alloca.h>'
  49.  
  50.  
  51. ** SCO UNIX 3.2v4.0 (These notes are old and may be out of date).
  52.  
  53. sysdef.h:
  54.  
  55. commented #include for <sys/select.h>.  time.h already defined struct timeval.
  56.  
  57. In the makefile, you may need to use these definitions:
  58.  
  59.         optional_libs =  -lX11_s -lcurses -ltermlib
  60.         libs =  $(optional_libs) -lm -lsocket -lmalloc -lPW -lc_s
  61.